package com.leiduoduo.oms.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Validated
@Component
public class Table implements Serializable {
    private int id;
    private int restaurant_id;
    private String captcha;
    private String name;
    private String current_dinner_id;
    private int seat_number;
    private int state;
    private String created_at;
    private String updated_at;
    private byte alive;
    private String database;
}
